﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using Syncfusion.Windows.SampleLayout;
using Syncfusion.Windows.Chart;
namespace WPFChartDemo
{
    /// <summary>
    /// Interaction logic for Chart1Win.xaml
    /// </summary>
    public partial class Chart1Win : Window, IMainView
    {
        public Chart1Win()
        {
            InitializeComponent();
            this.DataContext = new ColumnChartViewModel(this);
            grid_Chart.DataContext = new Game { Name = "444444444444" };
        }

        public void OkButtonClick()
        {
            //  AdornmentsPosition
            //ChartAxis ss = new ChartAxis();

            //series.ColorEach = true;
            //series.AnimationDuration = new TimeSpan(0, 0, 0, 3, 2);//动画时间
            series.Type = ChartTypes.Column;

        }
    }

}
